﻿using System.Collections.Generic;

namespace Wicture.EPC.Service.Etka.Models
{
    public class Vin
    {
        public string vin { get; set; }
        public string brandName { get; set; }
        public string brandCode { get; set; }

        public List<VinProperty> props { get; set; } = new List<VinProperty>();
        public List<VinFeature> features { get; set; } = new List<VinFeature>();
    }

    public class VinProperty
    {
        public string name { get; set; }
        public string desc { get; set; }
    }

    public class VinFeature
    {
        public string code { get; set; }
        public string name { get; set; }
        public string code1 { get; set; }

    }

    public class Feature
    {
        public int id { get; set; }
        public string featureCode { get; set; }
        public string featureName { get; set; }
        public int? startDate { set; get; }
        public int? endDate { set; get; }
        public string modelEpisTypes { set; get; }
        public string featureFamily { set; get; }
    }

    public class PartForVin
    {
        public string id { get; set; }
        public string XC26TKT1Trans { get; set; }
        public string featureCodesTrans { get; set; }
        public string codesTrans { get; set; }
    }


    public class VinInfo
    {
        public string code { set; get; }
        public string modelYear { get; set; }
        public string engineCode { get; set; }
        public string countrySymbol { get; set; }
        public string PRNumbers { get; set; }
        public string productionDate { get; set; }
        public string transmissionCode { get; set; }
        public string episType { get; set; }
        public string salesType { get; set; }
        public string colorInterior { set; get; }
        public string colorTop { set; get; }
        public string colorFinish { set; get; }
        public string engineNumber { set; get; }
        public string carportComponents { set; get; }
        public int? modelYearStart { set; get; }
        public int? modelYearEnd { set; get; }
        public string market { set; get; }
    }

    public class PRInfo
    {
        public string PRFamilie { get; set; }
        public string PRNummer { get; set; }
        public string modelEpisTypes { get; set; }
        public int startDate { get; set; }
        public int endDate { get; set; }
        public string MBA { get; set; }
    }

}
